<?php get_header(); ?>
<?php require('sidebar2.php');?>
<?php get_sidebar();?>
<section class="content">
  <?php if ($posts) { ?>
  <?php $post = $posts[0]; /* Hack. Set $post so that the_date() works. */ ?>
  <h3>Search Results for '<?php echo $s; ?>'</h3>
  <div class="post-info">Did you find what you wanted ?</div>
  <?php foreach ($posts as $post) : start_wp(); ?>
  <?php require('post.php'); ?>
  <?php endforeach; ?>
  <div class="navigation">
    <div class="alignleft">
      <?php posts_nav_link('','','&laquo; Older Entries') ?>
    </div>
    <div class="alignright">
      <?php posts_nav_link('','Newer Entries &raquo;','') ?>
    </div>
  </div>
  <?php } else { ?>
  <h2 class="center">Not Found</h2>
  <p>
    <?php _e('Sorry, no posts matched your criteria.'); ?>
  </p>
  <?php } ?>
</section>
<?php get_footer(); ?>
